{* $Id: cc_pi.tpl,v 1.6.2.4 2007/02/13 14:15:17 twice Exp $ *}
<h3>Pasat Internet</h3>
{$lng.txt_cc_configure_top_text}
<p />
{$lng.txt_cc_pi_note|substitute:"http_location":$http_location:"https_location":$https_location}
<p />
{capture name=dialog}
<form action="cc_processing.php?cc_processor={$smarty.get.cc_processor|escape:"url"}" method="post">
<table cellspacing="10">
<tr>
<td>{$lng.lbl_cc_pi_storecode}:</td>
<td><input type="text" name="param01" size="32" value="{$module_data.param01|escape}" /></td>
</tr>
<tr>
<td>{$lng.lbl_cc_testlive_mode}:</td>
<td>
<select name="testmode">
<option value=Y{if $module_data.testmode eq "Y"} selected="selected"{/if}>{$lng.lbl_cc_testlive_test}
<option value=N{if $module_data.testmode eq "N"} selected="selected"{/if}>{$lng.lbl_cc_testlive_live}
</select>
</td>
</tr>
<tr>
<td>{$lng.lbl_cc_order_prefix}:</td>
<td><input type="text" name="param02" size="32" value="{$module_data.param02|escape}" /></td>
</tr>
<tr>
<td>{$lng.lbl_pi_multilang}</td>
<td><input type="checkbox" name="param04" {if $module_data.param04 eq "Y"}checked{/if} onchange="javascript: visibleBox('_pi', true);"/></td>
</tr>
</table>
<table id="box_pi" {if $module_data.param04 ne "Y"}style="display: none;"{/if}>
<tr>
	<td>
<table>
<tr>
	<td>
	{$lng.msg_pi_multilang_note}
	</td>
</tr>
</table>
	</td>
</tr>
<tr>
<td>
<table>
<tr>
<td colspan="2" class="TableHead">{$lng.lbl_shop_languages}</td>
<td class="TableHead">{$lng.lbl_pi_languages}</td>
</tr>
{foreach from=$languages item="lang"}
{assign var="lang_code" value="`$lang.code`"}
<tr class="TableLine">
<td>{$lang.code}</td>
<td>{$lang.language}</td>
<td align="center">
	<select name="param03[{$lang.code}]">
		<option value="es" {if $lang_mask.$lang_code eq "es"}selected="selected"{/if}>Castellano</option>
		<option value="ca" {if $lang_mask.$lang_code eq "ca"}selected="selected"{/if}>Catal&aacute;n</option>
		<option value="en" {if $lang_mask.$lang_code eq "en"}selected="selected"{/if}>Ingl&eacute;s</option>
		<option value="fr" {if $lang_mask.$lang_code eq "fr"}selected="selected"{/if}>Franc&eacute;s</option>
		<option value="de" {if $lang_mask.$lang_code eq "de"}selected="selected"{/if}>Alem&aacute;n</option>
	</select>
</td>
</tr>
{/foreach}
</table>
</td>
</tr>
</table>
<p />
<input type="submit" value="{$lng.lbl_update|strip_tags:false|escape}" />
</form>
{/capture}
{include file="dialog.tpl" title=$lng.lbl_cc_settings content=$smarty.capture.dialog extra='width="100%"'}
